package pdfsetter.core.pages;

/**
 * This enum represents some fixed types of pages. We measure size in millimeters.
 * 
 * @author Andrzej Dorobisz
 */

public enum PageType {
    A4(210, 297);

    private final double width;
    private final double height;

    PageType(double width, double height) {
        this.width = width;
        this.height = height;
    }

    public double getWidth() {
        return width;
    }

    public double getHeight() {
        return height;
    }
}
